
import { AxiosResponse } from "axios";

/**登录接口参数模型*/
export interface LoginParam{
	phone:string|number,
	password:string
}

/**登录接口返回的数据模型*/
export interface LoginRes{
	/**登录token */
	token:string,
	user:{
		id: number
		phone: string
		user_name: string
	}
}

/**修改密码接口参数模型*/
export interface ChangePassword{
	old_password:string,
	password:string,
	password2:string,
}
